/* prblm3.c: this program is used to test watchpoints
 *   Author: Charles E. Campbell, Jr.
 *   Date:   Dec 17, 2008
 */

/* =====================================================================
 * Header Section: {{{1
 */

/* ---------------------------------------------------------------------
 * Includes: {{{2
 */
#include <stdio.h>

/* ------------------------------------------------------------------------
 * Definitions: {{{2
 */

/* ------------------------------------------------------------------------
 * Typedefs: {{{2
 */

/* ------------------------------------------------------------------------
 * Local Data Structures: {{{2
 */

/* ------------------------------------------------------------------------
 * Global Data: {{{2
 */

/* ------------------------------------------------------------------------
 * Explanation: {{{2
 */

/* ------------------------------------------------------------------------
 * Prototypes: {{{2
 */

/* ========================================================================
 * Functions: {{{1
 */

/* --------------------------------------------------------------------- */
/* main: {{{2 */
int main(
  int    argc,
  char **argv)
{
int x[5];
int y;
int z[5]= {10,20,30,40,50};
int i;

for(i= 0; i < 5; ++i) {
	x[i]= z[i];
	if(i == 3) y= x[i];
	}

return 0;
}

/* ===================================================================== */
/* Modelines: {{{1
 * vim: fdm=marker
 */
